﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    Theme="Vessel" CodeBehind="JobManagement.aspx.cs" Inherits="Landscape.Vessel.WebApp.Operations.JobManagement" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <telerik:RadToolBar ID="rtbModuleActions" runat="server" Width="100%" EnableShadows="True">
        <Items>
            <telerik:RadToolBarButton runat="server" CommandName="LIST" ImageUrl="~/Images/Search.png"
                Text="Search" CheckOnClick="True" ImagePosition="AboveText">
            </telerik:RadToolBarButton>
            <telerik:RadToolBarButton runat="server" CommandName="NEW" ImageUrl="~/Images/Write.png"
                Text="New" CheckOnClick="True" ImagePosition="AboveText">
            </telerik:RadToolBarButton>
            <telerik:RadToolBarButton runat="server" CommandName="SAVE" ImageUrl="~/Images/Floppy.png"
                Text="Save" CheckOnClick="True" ImagePosition="AboveText">
            </telerik:RadToolBarButton>
            <telerik:RadToolBarButton runat="server" CommandName="DELETE" ImageUrl="~/Images/Delete_32x32.png"
                Text="Delete" CheckOnClick="True" ImagePosition="AboveText">
            </telerik:RadToolBarButton>
        </Items>
    </telerik:RadToolBar>
    <telerik:RadTabStrip ID="RadTabStrip1" runat="server" MultiPageID="RadMultiPage1"
        Width="100%" SelectedIndex="0">
        <Tabs>
            <telerik:RadTab runat="server" Text="Job Search Results" PageViewID="RadPageView1"
                Selected="True">
            </telerik:RadTab>
            <telerik:RadTab runat="server" Text="Job Details" PageViewID="RadPageView2">
            </telerik:RadTab>
            <telerik:RadTab runat="server" Text="Job Workorder" PageViewID="RadPageView3">
            </telerik:RadTab>
            <telerik:RadTab runat="server" Text="Workorder History" PageViewID="RadPageView4">
            </telerik:RadTab>
        </Tabs>
    </telerik:RadTabStrip>
    <telerik:RadMultiPage ID="RadMultiPage1" runat="server" ScrollBars="Auto" SelectedIndex="0">
        <telerik:RadPageView ID="RadPageView1" runat="server">
            <table>
                <tr>
                    <td>
                        <table>
                            <tr>
                                <td>
                                    <span class="label">From Date :</span>
                                </td>
                                <td>
                                    <telerik:RadDatePicker ID="RadDatePicker1" runat="server">
                                    </telerik:RadDatePicker>
                                </td>
                                <td>
                                    <span class="label">To Date :</span>
                                </td>
                                <td>
                                    <telerik:RadDatePicker ID="RadDatePicker2" runat="server">
                                    </telerik:RadDatePicker>
                                </td>
                                <td>
                                    <span class="label">Type :</span>
                                </td>
                                <td>
                                    <telerik:RadComboBox ID="RadComboBox1" runat="server">
                                    </telerik:RadComboBox>
                                </td>
                                <td>
                                    <span class="label">Status :</span>
                                </td>
                                <td>
                                    <telerik:RadComboBox ID="RadComboBox2" runat="server">
                                    </telerik:RadComboBox>
                                </td>
                                <td>
                                    <asp:CheckBox ID="cbIgnore" runat="server" Text="Ignore Equipment Selection" />
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td style="height: 30px">
                        <telerik:RadContextMenu ID="RadContextMenu1" Runat="server">
                            <Targets>
                                <telerik:ContextMenuControlTarget ControlID="RadGrid1" />
                            </Targets>
                            <Items>
                                <telerik:RadMenuItem runat="server" Text="Test">
                                </telerik:RadMenuItem>
                            </Items>
                        </telerik:RadContextMenu>
                    </td>
                </tr>
                <tr>
                    <td>
                        <telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                            CellSpacing="0" GridLines="None">
                            <ClientSettings>
                                <Selecting AllowRowSelect="True" />
                            </ClientSettings>
                            <MasterTableView>
                                <CommandItemSettings ExportToPdfText="Export to PDF" />
                                <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column" Visible="True">
                                    <HeaderStyle Width="20px" />
                                </RowIndicatorColumn>
                                <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column" Visible="True">
                                    <HeaderStyle Width="20px" />
                                </ExpandCollapseColumn>
                                <Columns>
                                    <telerik:GridClientSelectColumn FilterControlAltText="Filter column column" HeaderText="#" 
                                        UniqueName="column">
                                    </telerik:GridClientSelectColumn>
                                    <telerik:GridBoundColumn FilterControlAltText="Filter column1 column" HeaderText="Job No."
                                        UniqueName="column1" DataField="JobNo">
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn FilterControlAltText="Filter column2 column" HeaderText="Title"
                                        UniqueName="column2" DataField="Title">
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn FilterControlAltText="Filter column3 column" HeaderText="Description"
                                        UniqueName="column3" DataField="Description">
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn FilterControlAltText="Filter column4 column" HeaderText="Equipment"
                                        UniqueName="column4" DataField="Equipment">
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn FilterControlAltText="Filter column5 column" HeaderText="Type"
                                        UniqueName="column5" DataField="Type">
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn FilterControlAltText="Filter column6 column" HeaderText="Periodicity"
                                        UniqueName="column6" DataField="Periodicity">
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn FilterControlAltText="Filter column7 column" HeaderText="Last Occurence"
                                        UniqueName="column7" DataField="LastOcc">
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn FilterControlAltText="Filter column8 column" HeaderText="Next Occurence"
                                        UniqueName="column8" DataField="NextOcc">
                                    </telerik:GridBoundColumn>
                                </Columns>
                                <EditFormSettings>
                                    <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                                    </EditColumn>
                                </EditFormSettings>
                            </MasterTableView>
                            <FilterMenu EnableImageSprites="False">
                            </FilterMenu>
                        </telerik:RadGrid>
                    </td>
                </tr>
            </table>
        </telerik:RadPageView>
        <telerik:RadPageView ID="RadPageView2" runat="server">
            <table>
                <tr>
                    <td valign="top">
                        <table>
                            <tr>
                                <td>
                                    <span class="label">Job Number :</span>
                                </td>
                                <td>
                                    <telerik:RadTextBox ID="RadTextBox1" runat="server">
                                    </telerik:RadTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <span class="label">Job Title :</span>
                                </td>
                                <td>
                                    <telerik:RadTextBox ID="RadTextBox2" runat="server">
                                    </telerik:RadTextBox>
                                </td>
                            </tr>
                            <tr style="vertical-align: top">
                                <td>
                                    <span class="label">Job Description :</span>
                                </td>
                                <td>
                                    <telerik:RadTextBox ID="RadTextBox3" runat="server" TextMode="MultiLine" Height="49px">
                                    </telerik:RadTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <span class="label">Job Type :</span>
                                </td>
                                <td>
                                    <telerik:RadComboBox ID="RadComboBox3" runat="server">
                                        <Items>
                                            <telerik:RadComboBoxItem runat="server" Text="-Select-" Value="-Select-" Selected="true" />
                                            <telerik:RadComboBoxItem runat="server" Text="Planned" Value="P" />
                                            <telerik:RadComboBoxItem runat="server" Text="Corrective" Value="C" />
                                            <telerik:RadComboBoxItem runat="server" Text="Break Down" Value="B" />
                                        </Items>
                                    </telerik:RadComboBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <span class="label">Equipment :</span>
                                </td>
                                <td>
                                    <telerik:RadTextBox ID="RadTextBox8" runat="server">
                                    </telerik:RadTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <span class="label">Job Periodicity :</span>
                                </td>
                                <td>
                                    <telerik:RadTextBox ID="RadTextBox4" runat="server">
                                    </telerik:RadTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <span class="label">Expected Total Duration (Hrs) :</span>
                                </td>
                                <td>
                                    <telerik:RadTextBox ID="RadTextBox5" runat="server">
                                    </telerik:RadTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <span class="label">Expected Total Cost (USD) :</span>
                                </td>
                                <td>
                                    <telerik:RadTextBox ID="RadTextBox6" runat="server">
                                    </telerik:RadTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <span class="label">Job Priority :</span>
                                </td>
                                <td>
                                    <telerik:RadTextBox ID="RadTextBox7" runat="server">
                                    </telerik:RadTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <span class="label caustion">Release :</span>
                                </td>
                                <td>
                                    <asp:CheckBox ID="cbRelease" runat="server" Text="(Releaseing job is irreversable and will prohibit further changes.)" />
                                </td>
                            </tr>
                        </table>
                    </td>
                    <td valign="top">
                        <table>
                            <tr>
                                <td class="subTitle">
                                    <span>Measurement Table</span>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <telerik:RadButton ID="RadButton1" runat="server" Text="Add New Column">
                                    </telerik:RadButton>
                                    &nbsp;&nbsp;
                                    <telerik:RadButton ID="RadButton2" runat="server" Text="Remove Column">
                                    </telerik:RadButton>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <telerik:RadGrid ID="RadGrid2" runat="server" AllowPaging="True" AllowSorting="True"
                                        AutoGenerateColumns="False" CellSpacing="0" GridLines="None">
                                        <ClientSettings>
                                            <Selecting AllowRowSelect="True" />
                                        </ClientSettings>
                                        <MasterTableView>
                                            <CommandItemSettings ExportToPdfText="Export to PDF" />
                                            <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column" Visible="True">
                                                <HeaderStyle Width="20px" />
                                            </RowIndicatorColumn>
                                            <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column" Visible="True">
                                                <HeaderStyle Width="20px" />
                                            </ExpandCollapseColumn>
                                            <Columns>
                                                <telerik:GridClientSelectColumn FilterControlAltText="Filter column column" HeaderText="#"
                                                    UniqueName="column">
                                                </telerik:GridClientSelectColumn>
                                                <telerik:GridBoundColumn FilterControlAltText="Filter column1 column" HeaderText="Column Name"
                                                    UniqueName="column1">
                                                </telerik:GridBoundColumn>
                                            </Columns>
                                            <EditFormSettings>
                                                <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                                                </EditColumn>
                                            </EditFormSettings>
                                        </MasterTableView>
                                        <FilterMenu EnableImageSprites="False">
                                        </FilterMenu>
                                    </telerik:RadGrid>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </telerik:RadPageView>
        <telerik:RadPageView ID="RadPageView3" runat="server">
            <table>
                <tr>
                    <td colspan="2">
                        <table style="width: 100%">
                            <tr>
                                <td>
                                    <span class="label">Job Number :</span>
                                </td>
                                <td>
                                    <span>JOB001</span>
                                </td>
                                <td>
                                    <span class="label">Equipment :</span>
                                </td>
                                <td>
                                    <span>AUX</span>
                                </td>
                                <td>
                                    <span class="label">Job Type :</span>
                                </td>
                                <td>
                                    <span>Planned</span>
                                </td>
                                <td>
                                    <span class="label">Job Periodicity :</span>
                                </td>
                                <td>
                                    <span>200 Hrs</span>
                                </td>
                                <td style="text-align: right">
                                    <telerik:RadButton ID="RadButton3" runat="server" Text="Print">
                                    </telerik:RadButton>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <span class="label">Expected Total Duration (Hrs) :</span>
                                </td>
                                <td>
                                    <span>2 Hrs</span>
                                </td>
                                <td>
                                    <span class="label">Expected Total Cost (USD)</span>
                                </td>
                                <td>
                                    <span>2000.00</span>
                                </td>
                                <td>
                                    <span class="label">Job Priority :</span>
                                </td>
                                <td>
                                    <span>2</span>
                                </td>
                                <td colspan="3">
                                </td>
                            </tr>
                            <tr>
                                <td colspan="9">
                                    <hr />
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td style="vertical-align: top">
                        <table>
                         <tr>
                                <td>
                                    <span class="label">Work Order Code :</span>
                                </td>
                                <td>
                                    <telerik:RadTextBox ID="RadTextBox14" runat="server">
                                    </telerik:RadTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <span class="label">Job Title :</span>
                                </td>
                                <td>
                                    <telerik:RadTextBox ID="RadTextBox9" runat="server">
                                    </telerik:RadTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <span class="label">Job Description :</span>
                                </td>
                                <td>
                                    <telerik:RadTextBox ID="RadTextBox10" runat="server" Height="49px" TextMode="MultiLine">
                                    </telerik:RadTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <span class="label">Job Reporting :</span>
                                </td>
                                <td>
                                    <telerik:RadTextBox ID="RadTextBox11" runat="server" Height="49px" TextMode="MultiLine">
                                    </telerik:RadTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <span class="label">Actual Total Duration (Hrs) :</span>
                                </td>
                                <td>
                                    <telerik:RadTextBox ID="RadTextBox12" runat="server">
                                    </telerik:RadTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <span class="label">Actual Total Cost (USD) :</span>
                                </td>
                                <td>
                                    <telerik:RadTextBox ID="RadTextBox13" runat="server">
                                    </telerik:RadTextBox>
                                </td>
                            </tr>
                        </table>
                    </td>
                    <td style="vertical-align: top">
                        <table>
                            <tr>
                                <td class="subTitle">
                                    <span class="label">Measurement Table</span>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td class="subTitle">
                                    <span class="label">Attachments</span>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <telerik:RadAsyncUpload ID="RadAsyncUpload1" runat="server">
                                    </telerik:RadAsyncUpload>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </telerik:RadPageView>
        <telerik:RadPageView ID="RadPageView4" runat="server"></telerik:RadPageView>
    </telerik:RadMultiPage>
</asp:Content>
